package com.kx.springmybatis.pojo;

import java.util.Date;

public class Order {
    private Date date;
    private Address address;

    public Order() {
    }

    public Order(Date date, Address address) {
        this.date = date;
        this.address = address;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public Address getAddress() {
        return address;
    }

    public void setAddress(Address address) {
        this.address = address;
    }

    @Override
    public String toString() {
        return "Order{" +
                "date=" + date +
                ", address=" + address +
                '}';
    }
}
